package com.ms.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Builder;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@Builder
public class AlbumCreateDTO {
    @NotBlank(message = "专辑标题不能为空")
    @Size(max = 20, message = "标题长度不能超过20字符")
    private String title;

    @Size(max = 500, message = "描述长度不能超过500字符")
    private String description;

    private Integer creatorId;
}
